#include "ParamProcessing.h"

// IP地址，端口
std::string IP = "192.168.10.219";
int Upper_Computer_Port = 10000;
int Controller_Port = 7000;
int Communication_Port = 8000;
int Teaching_Port = 5050;

// 套接字TCP通信
int Upper_Computer_fd;
int Controller_fd;
int Communication_fd;

// TCP字节通信长度
int Upper_Computer_Byte_Length = 2;
int Controller_Byte_Length = 2;

// 全局变量，用于存储接收到的数据
std::vector<uint8_t> ReceivedDataBufferUpper;
std::vector<uint8_t> ReceivedDataBufferController;

// 是否有与相机的子进程运行中
bool IsServerStart = false;
bool IsGetCirclePoint = false;

//  日志相关文件路径
const std::string LogFloderPath = executablePath + "/log/";
const std::string LogFilePath = executablePath + "/log/log.txt";

// 配置参数文件夹，文件
const std::string ParamFloderPath = executablePath + "/Param/";
const std::string ParamFilePath = executablePath + "/Param/Parameters.json";
// 控制器基本配置文件
const std::string ConfigureFilePath = executablePath + "/Param/Configure.json";

// 作业文件
const std::string JobFileFloderPath = executablePath + "/JobFile/";

//  模板匹配相关文件路径
const std::string SaveJsonPath = executablePath + "/template/template.json";
const std::string SaveImageFloderPath = executablePath + "/template/";

